gdk: Allow calling gdk_cairo_surface_create_from_pixbuf with scale 0
authorKalev Lember <kalevlember@gmail.com>
Mon, 6 Oct 2014 12:19:21 +0000 (14:19 +0200)
committerKalev Lember <kalevlember@gmail.com>
Mon, 6 Oct 2014 12:39:22 +0000 (14:39 +0200)
commit112e74ed6412290f38cc1cbeede65e8e99607c75
treec39fdf835b8ced6ed59564e31ed612a2a0eaf68f
parent5e4672092a31320041b51c3ad69f0a40adec59bf
gdk: Allow calling gdk_cairo_surface_create_from_pixbuf with scale 0

The documentation explicitly states that 0 is an allowed value for using
the same scale as the window. This 0 value is also explicitly checked
down in the call chain and handled.
gdk/gdkcairo.c